package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 医用耗材加成率监控
 * @author pf045
 *
 */
@Entity
@Table(name=ConstSysParam.MODULE_RAISE_CHARGE)

public class MedicalRaiseCharge extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="raiseChargeGenerator")
	@TableGenerator(name="raiseChargeGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_RAISE_CHARGE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	private Long drug_code;
	
	private String drug_name;
	
	private Double drug_price;

	public Long getDrug_code() {
		return drug_code;
	}

	public void setDrug_code(Long drug_code) {
		this.drug_code = drug_code;
	}

	public String getDrug_name() {
		return drug_name;
	}

	public void setDrug_name(String drug_name) {
		this.drug_name = drug_name;
	}

	public Double getDrug_price() {
		return drug_price;
	}

	public void setDrug_price(Double drug_price) {
		this.drug_price = drug_price;
	}
	
}
